﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.redshift
{
	// Token: 0x0200011D RID: 285
	public class TRedshiftStartTransaction : TCustomSqlStatement
	{
		// Token: 0x0600092C RID: 2348 RVA: 0x003030A9 File Offset: 0x003012A9
		public TRedshiftStartTransaction(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstredshiftStartTransaction;
		}

		// Token: 0x0600092D RID: 2349 RVA: 0x003030BD File Offset: 0x003012BD
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x0600092E RID: 2350 RVA: 0x003030D2 File Offset: 0x003012D2
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x0600092F RID: 2351 RVA: 0x003030E2 File Offset: 0x003012E2
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}
	}
}
